import request from '@/utils/request'

export default {
  // 获取分页数据
  getTeacherList(page,limit) {
    return request({
      url: `/eduservice/teacherfront/getTeacherFrontList/${page}/${limit}`,
      method: 'get'
    })
  },

  // 获取讲师与讲师所对应课程的信息
  getTeacherAndCourseFrontInfo(teacherId){
    return request({
      url: `/eduservice/teacherfront/getTeacherAndCourseFrontInfo/${teacherId}`,
      method: 'get'
    })
  }
}